
objects=test.o  mydata.o 



.PHONY: all
all: test

testmydata:$(objects)
	cc $(objects) -o testmydata


$(objects): %.o:%.c
	cc -c $(CFLAGS)$< -o $@
	
.PHONY: clean
clean:
	-rm test
	rm  *.o